<extend name="Public/base" />

<block name="style">

<style>
    .page-content{padding:15px 10px;}
    .search_pannl_div .single-col label{width:75px;}
</style>
</block>

<block name="body">
    <!-- 弹窗插件 -->
    <include file="Public:artdialog" />


     <div class="row">
        <div class="col-md-12">
            <div class="block-web">
                <!-- 商品列表 -->
                <form action="{:U('goods_list')}" method="post" onsubmit="return false" id="SearchFrom">
                        <div class="bgmain">
                  
                            <div class="block-web" style="margin: 0;padding:10px 20px 0px 0px;">
                                <div class="porlets-content">
                                    <div class="row" style="margin-left:-45px;">
                                        <div class="col-md-12">
                                            <div class="search_pannl_div">
                                                <table class="search_table">
                                                    <tbody>
                                                        <tr>
                                                      <td class="single-col">
                                                                <label>关键词：</label><input style="width:120px;" type="text" id="keywords" name="keywords" placeholder="商品id/编号/名/" value="">
                                                                <button type="button" class="btn btn-success" formtarget="SearchFrom" id="searchBtn" onclick="goSearch('#searchBtn','load_tb_div')"><i class="fa fa-search"></i> 搜索</button>
                                                                <button type="button" class="btn btn-default" onclick="$('input[type=text]').val(['']);$('select').val('');goSearch('#searchBtn','load_tb_div');"> 查看所有</button>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                     </div>
               
                <div id="load_tb_div" style="padding:10px 0px 30px ;">
                </div>

                <script>
                  $(function () {
                        _load_html_byurl("{:U('goods_list')}", "load_tb_div");
                    });
                </script>
                </form>
            </div><!--/porlets-content-->
        </div><!--/block-web-->
    </div><!--/col-md-12-->
    
</block>
